package extend;

public class Parent {
    public Parent() {
//        this("猫");
        System.out.println("调用父类构造方法");
    }



    static {
        System.out.println("父类静态代码块");
    }

    public Parent(String name) {
        System.out.println(name + "叫!!!");

    }

    {
        System.out.println("父类代码块");
    }
}
